package _test.wrap;

import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.FilePermission;
import java.io.FileReader;
import java.io.FileWriter;
import java.io.IOException;
import java.io.RandomAccessFile;

public class JavaIOTestClass
{

	public static FileReader superFileReaderConstructorString(String s) throws FileNotFoundException
	{
		return new MyFileReader(s);
	}
	public static FileReader fileReaderConstructorString(String s) throws FileNotFoundException
	{
		return new FileReader(s);
	}
	public static FileInputStream superFileInputConstructorString(String s) throws FileNotFoundException
	{
		return new MyFileInputStream(s);
	}
	public static FileInputStream fileInputConstructorString(String s) throws FileNotFoundException
	{
		return new FileInputStream(s);
	}
	public static FileOutputStream superFileOutputConstructorString(String s) throws FileNotFoundException
	{
		return new MyFileOutputStream(s);
	}
	public static FileOutputStream fileOutputConstructorString(String s) throws FileNotFoundException
	{
		return new FileOutputStream(s);
	}
	public static FileOutputStream superFileOutputConstructorStringBoolean(String s) throws FileNotFoundException
	{
		return new MyFileOutputStream(s, true);
	}
	public static FileOutputStream fileOutputConstructorStringBoolean(String s) throws FileNotFoundException
	{
		return new FileOutputStream(s, true);
	}
	public static FilePermission filePermissionConstructorStringString(String s, String s2) throws FileNotFoundException
	{
		return new FilePermission(s,s2);
	}
	public static FileWriter fileWritterConstructorStringBoolean(String s) throws IOException
	{
		return new FileWriter(s, true);
	}
	public static FileWriter superFileWriterConstructorStringBoolean(String s) throws IOException
	{
		return new MyFileWriter(s, true);
	}
	public static FileWriter fileWritterConstructorString(String s) throws IOException
	{
		return new FileWriter(s);
	}
	public static FileWriter superFileWriterConstructorString(String s) throws IOException
	{
		return new MyFileWriter(s);
	}
	public static RandomAccessFile randomAccessConstStringString(String s, String s2) throws IOException
	{
		return new RandomAccessFile(s,s2);
	}
	public static RandomAccessFile superRandomAccessConstStringString(String s, String s2) throws IOException
	{
		return new MyRandomAccessFile(s,s2);
	}
	public static String systemProperty(String s)
	{
		return System.getProperty(s);
	}
}
